src\fortnox\api\WF_Orders B

Total Complexity 90
Dependencies 7
Dependents 5
Total lines 669
Lines of code 377
Logical lines of code 204
Comment lines 174
Methods 28
Properties 0

Methods 28

Method Rating Maintainability Complexity Lines of code
format_order_payload()
A
39 10 68
set_way_of_delivery()
A
53 9 21
create_order_row()
S
45 6 43
validate_order_items()
S
57 6 16
handle_currency()
S
59 5 14
get_tax()
S
59 5 14
order_exists()
S
60 5 12
sync()
S
51 4 26
format_order_rows()
S
57 4 16
get_custom_shipping()
S
51 3 25
get_shipping()
S
59 3 15
get_shipping_account()
S
59 3 15
handle_fees()
S
61 3 12
outside_eu()
S
70 3 6
item_is_variation()
S
70 3 6
calculate_item_discount()
S
66 3 9
send_order_to_fortnox()
S
60 2 14
set_payment_terms()
S
68 2 7
set_order_notice_flag()
S
72 2 5
administration_fee_names()
S
69 1 6
get_product_name()
S
80 1 3
get_regular_shipping()
S
70 1 6
mark_as_ready()
S
77 1 3
is_synced()
S
78 1 3
has_notices()
S
78 1 3
add_order_log()
S
78 1 3
set_order_as_synced()
S
79 1 3
get_order_number()
S
77 1 3